package com.landinfo.domain;

import java.util.concurrent.Future;

/**
 * 定时器用到对象
 */
public class TimerObj {
    /**
     * 短信模板id
     */
    private Long receiverId;

    /**
     * 定时器对象
     */
    private Future future;

    /**
     * 今天是否已经发送过（针对预警和离线提醒类短信）
     */
    private boolean todayIsSend;

    public Long getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(Long receiverId) {
        this.receiverId = receiverId;
    }

    public Future getFuture() {
        return future;
    }

    public void setFuture(Future future) {
        this.future = future;
    }

    public boolean isTodayIsSend() {
        return todayIsSend;
    }

    public void setTodayIsSend(boolean todayIsSend) {
        this.todayIsSend = todayIsSend;
    }
}
